package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

//珍兽组合技能
public class UserVehicleOtherSkill extends DataObject {

	private long userId;

	private String vehicleUid;

	private int skillId;

	private int skillLv;

	private int skillType;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if(this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}
	public String getVehicleUid() {
		return vehicleUid;
	}

	public void setVehicleUid(String vehicleUid) {
		if(!vehicleUid.equals(this.vehicleUid)){
			this.vehicleUid = vehicleUid;
			setUpdateOption();
		}
	}

	public int getSkillId() {
		return skillId;
	}

	public void setSkillId(int skillId) {
		if(this.skillId != skillId) {
			this.skillId = skillId;
			setUpdateOption();
		}
	}

	public int getSkillLv() {
		return skillLv;
	}

	public void setSkillLv(int skillLv) {
		if(this.skillLv != skillLv) {
			this.skillLv = skillLv;
			setUpdateOption();
		}
	}

	public int getSkillType() {
		return skillType;
	}

	public void setSkillType(int skillType) {
		if(skillType != this.skillType){
			this.skillType = skillType;
			setUpdateOption();
		}
	}

	public UserVehicleOtherSkill cloneUserVehicleOtherSkill() {
		UserVehicleOtherSkill skr = new UserVehicleOtherSkill();
		skr.setUserId(userId);
		skr.setVehicleUid(vehicleUid);
		skr.setSkillId(skillId);
		skr.setSkillLv(skillLv);
		skr.setSkillType(skillType);
		return skr;
	}
}
